import { StyleSheet } from 'react-native';
import { SCREEN_WIDTH } from '@/utils/resize';
import { borderColor, primaryColor, errorColor } from '@/constants/Colors';

export default StyleSheet.create({
  wrapper: {
    borderRadius: 12,
    width: SCREEN_WIDTH - 64,
    backgroundColor: '#fff',
    overflow: 'hidden'
  },
  content: {
    paddingVertical: 28,
    paddingHorizontal: 16
  },
  title: {
    fontSize: 16,
    fontWeight: '600',
    textAlign: 'center'
  },
  desc: {
    fontSize: 14,
    color: '#666',
    marginTop: 12,
    textAlign: 'center'
  },
  buttons: {
    height: 50,
    flexDirection: 'row',
    borderTopWidth: 1,
    borderTopColor: borderColor
  },
  line: {
    width: 1,
    height: '100%',
    backgroundColor: borderColor
  }
});

export const btnStyles = StyleSheet.create({
  button: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center'
  },
  inner: {
    alignItems: 'center',
    justifyContent: 'center'
  },
  buttonText: {
    fontSize: 15,
    fontWeight: '500'
  },
  default: {
    color: '#454545'
  },
  disabled: {
    backgroundColor: borderColor
  },
  primary: {
    color: primaryColor
  },
  danger: {
    color: errorColor
  },
  disabledText: {
    color: '#ccc'
  }
});